package com.example.myproject.service;

import com.example.myproject.model.Function;

import java.util.Optional;
import java.util.Set;

public interface FunctionService {
    Set<Function> findFunctionsByIds(Set<Long> ids);

    Optional<Function> findById(int  id);

    Function save(Function function);

    void deleteById(int id);
}
